package org.whh.metadata.datasource.database;

/**
 * @author xiaogc
 * @version 1.0
 * @date 2021/7/14 17:07
 */
public class Test {
    public static void main(String[] args) {
        DBDatasource mysql = MysqlDataSource.builder().setServerName("mysql").setUser("xgc").build();
        System.out.println(mysql.getServerName()+"---"+mysql.getUser());
        DBDatasource oracle = OracleDataSource.builder().setServerName("oracle").setUser("zs").build();
        System.out.println(oracle.getServerName()+"---"+oracle.getUser());
    }
}
